package com.example.myDesignPatterns.行为型模式.迭代器模式Iterator;
//定义迭代器接口，声明hasNext、next方法
public interface StudentIterator {
    boolean hasNext();

    Student next();
}